<?php /* Smarty version Smarty-3.1.11, created on 2013-09-03 14:45:54
         compiled from "..\templates\ctdt\danhsachctdt.tpl" */ ?>
<?php /*%%SmartyHeaderCode:22953522593b21ffb70-97394112%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd531e31c2f53cf22f1467dd0e1d625be0a2b6df8' => 
    array (
      0 => '..\\templates\\ctdt\\danhsachctdt.tpl',
      1 => 1368553481,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '22953522593b21ffb70-97394112',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'ctdtsua' => 0,
    'thongbao' => 0,
    'dmtrinhdo' => 0,
    'dmtd' => 0,
    'dmhedaotao' => 0,
    'dmhdt' => 0,
    'dmnganh' => 0,
    'dmn' => 0,
    'ctdt' => 0,
    'dt' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_522593b2361e62_63749850',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_522593b2361e62_63749850')) {function content_522593b2361e62_63749850($_smarty_tpl) {?><br />
<div class="content-box">  
    <div class="content-box-header">    <!------------------content-box-header---------------------->
        <h3>Danh Sách Chương Trình Đào Tạo</a></h3>
    </div> <!-- End .content-box-header --> 
    <div class="content-box-content"><br /><br />
<!--------------------------------------------------Nội dung trang------------------------------------------------------>
      
       <form action="" id="formnoidung" method="POST">
        <table style="margin-left:340px">
            <tr>
                <td colspan="2" style="padding-left:85px"><h3>Thêm mới danh sách CTĐT</h3></td>
            
            </tr>
            <tr>
                <td colspan="2" style="padding-left :100px">
                    <input type="hidden" class="text-input" name="ctdtcu" value="<?php echo $_smarty_tpl->tpl_vars['ctdtsua']->value['ma_ctdt'];?>
" />
                    <font color="red"><?php echo $_smarty_tpl->tpl_vars['thongbao']->value;?>
</font>
                </td>
            </tr>
            <tr>
                <td class="td-150">Mã CTĐT</td>
                <td><input class="text-input" type="text" name="ma_ctdt" value="<?php echo $_smarty_tpl->tpl_vars['ctdtsua']->value['ma_ctdt'];?>
" /></td>
            </tr>
            <tr>
            <tr>
            
                <td class="td-150">Trình độ</td>
                <td>
                        <select name="trinhdo">
                                <option value="">-- Trình độ --</option>
                                <?php  $_smarty_tpl->tpl_vars['dmtd'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['dmtd']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['dmtrinhdo']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['dmtd']->key => $_smarty_tpl->tpl_vars['dmtd']->value){
$_smarty_tpl->tpl_vars['dmtd']->_loop = true;
?>
                                
                                 <option value="<?php echo $_smarty_tpl->tpl_vars['dmtd']->value['madm_td'];?>
" <?php if ($_smarty_tpl->tpl_vars['dmtd']->value['madm_td']==$_smarty_tpl->tpl_vars['ctdtsua']->value['madm_td']){?>selected=''<?php }?> ><?php echo $_smarty_tpl->tpl_vars['dmtd']->value['ten_td'];?>
</option>
                                <?php } ?>
                        </select>
                    </td>
            </tr>
            <tr>
            <tr>
                  <td class="td-150">Hệ đào tạo</td>
                <td>
                        <select name="hedaotao">
                                <option value="">-- Hệ đào tạo --</option>
                                <?php  $_smarty_tpl->tpl_vars['dmhdt'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['dmhdt']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['dmhedaotao']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['dmhdt']->key => $_smarty_tpl->tpl_vars['dmhdt']->value){
$_smarty_tpl->tpl_vars['dmhdt']->_loop = true;
?>
                                
                                 <option value="<?php echo $_smarty_tpl->tpl_vars['dmhdt']->value['madm_hdt'];?>
" <?php if ($_smarty_tpl->tpl_vars['dmhdt']->value['madm_hdt']==$_smarty_tpl->tpl_vars['ctdtsua']->value['madm_hdt']){?>selected=''<?php }?>><?php echo $_smarty_tpl->tpl_vars['dmhdt']->value['ten_hedt'];?>
</option>
                                <?php } ?>
                        </select>
                    </td>
            </tr>
            <tr>
            <tr>
                <td class="td-150">Ngành</td>
                <td>
                        <select name="nganh">
                                <option value="">-- Ngành --</option>
                                <?php  $_smarty_tpl->tpl_vars['dmn'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['dmn']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['dmnganh']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['dmn']->key => $_smarty_tpl->tpl_vars['dmn']->value){
$_smarty_tpl->tpl_vars['dmn']->_loop = true;
?>
                                
                                 <option value="<?php echo $_smarty_tpl->tpl_vars['dmn']->value['madm_nganh'];?>
" <?php if ($_smarty_tpl->tpl_vars['dmn']->value['madm_nganh']==$_smarty_tpl->tpl_vars['ctdtsua']->value['madm_nganh']){?>selected=''<?php }?> ><?php echo $_smarty_tpl->tpl_vars['dmn']->value['ten_nganh'];?>
</option>
                                <?php } ?>
                        </select>
                    </td>
            </tr>
            
            <tr>
                <td colspan="2" style="padding-left : 114px"><input class="button" type="submit" name="luu" value="Lưu" />
                <input class="button" type="reset" name="huy" value="Hủy"/>
                </td>
            </tr>
        </table>
        <br /><br />
        <table>
            <tr>
                <td colspan="6" ><h3 style="padding-left:400px">Danh Sách Chương Trình Đào Tạo</h3></td>
            </tr>
            <tr>
                    <td><input class="button" type="submit" name="xoa" value="Xóa" /> </td>
                    <td class="td-300">Mã CTĐT</td>
                    <td class="td-300">Trình độ</td>
                    <td class="td-300">Hệ đào tạo</td>
                    <td class="td-300">Ngành</td>
                    <td class="td-300">Sửa</td>
            </tr>
            <?php  $_smarty_tpl->tpl_vars['dt'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['dt']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['ctdt']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['dt']->key => $_smarty_tpl->tpl_vars['dt']->value){
$_smarty_tpl->tpl_vars['dt']->_loop = true;
?>
            <tr>
                <td><input type="checkbox" name="check[]" value="'<?php echo $_smarty_tpl->tpl_vars['dt']->value['ma_ctdt'];?>
'" /></td>
                <td><?php echo $_smarty_tpl->tpl_vars['dt']->value['ma_ctdt'];?>
</td>
                <td>
                    <?php  $_smarty_tpl->tpl_vars['dmtd'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['dmtd']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['dmtrinhdo']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['dmtd']->key => $_smarty_tpl->tpl_vars['dmtd']->value){
$_smarty_tpl->tpl_vars['dmtd']->_loop = true;
?>
                    <?php if ($_smarty_tpl->tpl_vars['dmtd']->value['madm_td']==$_smarty_tpl->tpl_vars['dt']->value['madm_td']){?><?php echo $_smarty_tpl->tpl_vars['dmtd']->value['ten_td'];?>
<?php }?>
                      <?php } ?>             
                </td>
                <td>  
                    <?php  $_smarty_tpl->tpl_vars['dmhdt'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['dmhdt']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['dmhedaotao']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['dmhdt']->key => $_smarty_tpl->tpl_vars['dmhdt']->value){
$_smarty_tpl->tpl_vars['dmhdt']->_loop = true;
?>
                        <?php if ($_smarty_tpl->tpl_vars['dmhdt']->value['madm_hdt']==$_smarty_tpl->tpl_vars['dt']->value['madm_hdt']){?><?php echo $_smarty_tpl->tpl_vars['dmhdt']->value['ten_hedt'];?>
<?php }?>
                    <?php } ?> 
                </td>
                <td>  <?php  $_smarty_tpl->tpl_vars['dmn'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['dmn']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['dmnganh']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['dmn']->key => $_smarty_tpl->tpl_vars['dmn']->value){
$_smarty_tpl->tpl_vars['dmn']->_loop = true;
?>
                    <?php if ($_smarty_tpl->tpl_vars['dmn']->value['madm_nganh']==$_smarty_tpl->tpl_vars['dt']->value['madm_nganh']){?><?php echo $_smarty_tpl->tpl_vars['dmn']->value['ten_nganh'];?>
<?php }?><?php } ?> 
                     </td>
                <td><a href="index.php?muc=ctdt&modul=danhsachctdt&ma_ctdt=<?php echo $_smarty_tpl->tpl_vars['dt']->value['ma_ctdt'];?>
&madm_td=<?php echo $_smarty_tpl->tpl_vars['dt']->value['madm_td'];?>
">[Sửa]</a></td>
            </tr>
            <?php } ?>
        </table>
        
</form>
<!------------------------------------------------------Kết thúc trang----------------------------------------------------------------->
</div> <!-- End .content-box-content->

</div> <!-- End .content-box---><?php }} ?>